package snake;

public class Punkt {
	int wspX, wspY;
	
	public Punkt(int wspX, int wspY)
	{
		this.wspX = wspX;
		this.wspY = wspY;
	}
	public int getX()
	{
		return wspX;
	}
	public int getY()
	{
		return wspY;
	}
	public boolean equals(Object o)
	{
		Punkt p = (Punkt) o;
		return wspX == p.getX() && wspY == p.getY();
	}
}
